package com.mapper;

import com.model.template.Template;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TemplateMapper {

	public void insertTemplate(Template Template);
	
	public Template selectById(String id);
	
	public List<Template> selectByAccountId(String accountId);
	
	public void updateById(Template Template);
	
	public Template selectByAccountIdAndName(String accountId, String name);

	public void deleteById(String id);
	
}
